//
//  ViewController.m
//  TestCollectionView
//
//  Created by 曹想 on 2018/12/27.
//  Copyright © 2018 曹想. All rights reserved.
//

#import "ViewController.h"
#import "CXCycleTabView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    CXCycleTabView * tab = [CXCycleTabView cycleScrollViewWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, 240)];
    tab.collectionData = @[@"",@"",@""];
    tab.itemWidth = self.view.bounds.size.width-10;
    //tab.itemHeight = tab.height;
    tab.itemSpace = 0;
    [self.view addSubview:tab];
    // Do any additional setup after loading the view, typically from a nib.
}


@end
